abstract  class Vehicle{
    protected String make;
    protected String model;
    public Vehicle(String make,String model){
        this.make=make;
        this.model=model;
    }
    public abstract void drive();
}
class Car extends Vehicle {
    public Car(String make,String model){
        super(make,model);
    }
    @Override
    public  void drive(){
        System.out.println(make +""+model+"is driving on the road.");
    }
}
class Bike extends Vehicle{
    public Bike(String make,String model){
        super(make,model);
    }
    @Override
    public void drive(){
        System.out.println(make+""+model+"is riding on the bike lane.");
    }
}
public class Test1 {
    public static void main(String[] args) {
        Vehicle[] vehicles=new Vehicle[4];
        vehicles[0]=new Car("Toyota","Camry");
        vehicles[1]=new Car("Honda","Accord");
        vehicles[2]=new Bike("Giant","Talon");
        vehicles[3]=new Bike("Trek","Marlin");
        for (Vehicle vehicle : vehicles){
            vehicle.drive();
        }
    }
}


